﻿using Reporting.Domain.Enum;

namespace Reporting.API.DTOs.ProductionPlanDTO
{
    /// <summary>
    /// 生产计划响应DTO
    /// </summary>
    public class ProductionPlanResponse
    {
        /// <summary>
        /// 生产计划ID
        /// </summary>
        public int Productionplanid { get; set; }

        /// <summary>
        /// 计划编号
        /// </summary>
        public string Plannumber { get; set; }

        /// <summary>
        /// 计划名称
        /// </summary>
        public string Planname { get; set; }

        /// <summary>
        /// 工单数量
        /// </summary>
        public int Quantityofworkorders { get; set; }

        /// <summary>
        /// 来源类型
        /// 外健
        /// </summary>
        public int SourcetypeID { get; set; }

        /// <summary>
        /// 成品名称
        /// </summary>
        public string Productname { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        public string Productnumber { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specificationandmodel { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 计划数量
        /// </summary>
        public int Plannedquantity { get; set; }

        /// <summary>
        /// 计划开工日期
        /// </summary>
        public DateTime Plannedcommencementdate { get; set; }

        /// <summary>
        /// 计划完工日期
        /// </summary>
        public DateTime Plannedcompletiondate { get; set; }

        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime Requirementdate { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public StateEnum State { get; set; }


        /// <summary>
        /// 来源类型名称
        /// </summary>
        public string SourcetypeName { get; set; }
    }
}
